package com.hccl.mongoEntities.action;

import DM.StateMachine;
import entities.Reply;

/**
 * Created by xjzhang on 2017/11/17.
 */
public class BroadcastReplyAction extends Action{

    public BroadcastReplyAction(){
        super();
    }

    @Override
    public void run(StateMachine stateMachine){
        onEnter(stateMachine);
        Reply reply = new Reply(new Boolean(actionParams.get(0)),"broadcast",actionParams.get(1));
        stateMachine.addDialogReply(reply);
        onExit(stateMachine);
    }


}
